package com.example.hand.springbootweb.app.service.impl;

import com.example.hand.springbootweb.app.service.LoginService;
import com.example.hand.springbootweb.app.service.LoginUser;
import com.example.hand.springbootweb.domain.entity.LoginJPA;
import com.example.hand.springbootweb.domain.vo.LoginVo;
//import com.example.hand.springbootweb.app.service.LoginUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    LoginUser loginUser;

    @Override
    public LoginJPA loginJPAUser(LoginVo loginVo) {

        return loginUser.selectLoginUser(loginVo.getUserName(),loginVo.getPassword());


    }
}
